Optimal. Leaf size=133 \[ \frac {b^2 (a+b x)^{m+1} (c+d x)^{-m} (e+f x)^p \left (\frac {b (c+d x)}{b c-a d}\right )^m \left (\frac {b (e+f x)}{b e-a f}\right )^{-p} F_1\left (m+1;m+3,-p;m+2;-\frac {d (a+b x)}{b c-a d},-\frac {f (a+b x)}{b e-a f}\right )}{(m+1) (b c-a d)^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 133, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {140, 139, 138} \[ \frac {b^2 (a+b x)^{m+1} (c+d x)^{-m} (e+f x)^p \left (\frac {b (c+d x)}{b c-a d}\right )^m \left (\frac {b (e+f x)}{b e-a f}\right )^{-p} F_1\left (m+1;m+3,-p;m+2;-\frac {d (a+b x)}{b c-a d},-\frac {f (a+b x)}{b e-a f}\right )}{(m+1) (b c-a d)^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 138
Rule 139
Rule 140
Rubi steps
\begin {align*} \int (a+b x)^m (c+d x)^{-3-m} (e+f x)^p \, dx &=\frac {\left (b^3 (c+d x)^{-m} \left (\frac {b (c+d x)}{b c-a d}\right )^m\right ) \int (a+b x)^m \left (\frac {b c}{b c-a d}+\frac {b d x}{b c-a d}\right )^{-3-m} (e+f x)^p \, dx}{(b c-a d)^3}\\ &=\frac {\left (b^3 (c+d x)^{-m} \left (\frac {b (c+d x)}{b c-a d}\right )^m (e+f x)^p \left (\frac {b (e+f x)}{b e-a f}\right )^{-p}\right ) \int (a+b x)^m \left (\frac {b c}{b c-a d}+\frac {b d x}{b c-a d}\right )^{-3-m} \left (\frac {b e}{b e-a f}+\frac {b f x}{b e-a f}\right )^p \, dx}{(b c-a d)^3}\\ &=\frac {b^2 (a+b x)^{1+m} (c+d x)^{-m} \left (\frac {b (c+d x)}{b c-a d}\right )^m (e+f x)^p \left (\frac {b (e+f x)}{b e-a f}\right )^{-p} F_1\left (1+m;3+m,-p;2+m;-\frac {d (a+b x)}{b c-a d},-\frac {f (a+b x)}{b e-a f}\right )}{(b c-a d)^3 (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.43, size = 131, normalized size = 0.98 \[ \frac {b^2 (a+b x)^{m+1} (c+d x)^{-m} (e+f x)^p \left (\frac {b (c+d x)}{b c-a d}\right )^m \left (\frac {b (e+f x)}{b e-a f}\right )^{-p} F_1\left (m+1;m+3,-p;m+2;\frac {d (a+b x)}{a d-b c},\frac {f (a+b x)}{a f-b e}\right )}{(m+1) (b c-a d)^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 1.25, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (b x + a\right )}^{m} {\left (d x + c\right )}^{-m - 3} {\left (f x + e\right )}^{p}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x + a\right )}^{m} {\left (d x + c\right )}^{-m - 3} {\left (f x + e\right )}^{p}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.24, size = 0, normalized size = 0.00 \[ \int \left (b x +a \right )^{m} \left (d x +c \right )^{-m -3} \left (f x +e \right )^{p}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x + a\right )}^{m} {\left (d x + c\right )}^{-m - 3} {\left (f x + e\right )}^{p}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (e+f\,x\right )}^p\,{\left (a+b\,x\right )}^m}{{\left (c+d\,x\right )}^{m+3}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________